import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { NgZorroAntdModule } from 'ng-zorro-antd';


import { AppComponent } from './app.component';
import { TestDemoComponent } from './test-demo/test-demo.component';
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { LoginComponent } from './login/login.component';
import { RouterModule } from '@angular/router';
import { AppRoutesModule } from './app.routes.module';

// import { LoadingModule, ANIMATION_TYPES  } from 'ngx-loading';
import { SharedModule } from './shared/shared.module';

@NgModule({
  declarations: [
    AppComponent,
    TestDemoComponent,
    LoginComponent,
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    // LoadingModule.forRoot({
    //     animationType: ANIMATION_TYPES.wanderingCubes,
    //     backdropBackgroundColour: 'rgba(0,0,0,0.1)', 
    //     backdropBorderRadius: '4px',
    //     primaryColour: '#ffffff', 
    //     secondaryColour: '#ffffff', 
    //     tertiaryColour: '#ffffff'
    // }),
    NgZorroAntdModule.forRoot(),
    AppRoutesModule,
    SharedModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
